﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link href="/css/shangjia-ued.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="/js/lib/jquery.js"></script>
<script type="text/javascript" src="/js/plugin/hash/jquery.hash.js"></script>
<script type="text/javascript">

$(function() {
	$("#btn-set").click(function(event) {
		$.hash(window.prompt("give a name please:"), window.prompt("give a value please"));
	});

	$("#btn-get").click(function(event) {
		alert($.hash(window.prompt("give a name please:")));
	});

	$("#btn-remove").click(function(event) {
		$.hash(window.prompt("give a name please:"), null);
	});
});
</script>
<head><body>
<input type="button" value="设置值对" id="btn-set">
<input type="button" value="获取值" id="btn-get">
<input type="button" value="删除值对" id="btn-remove">
<body></html>